package com.cykj.enterprise.mapper;

import com.cykj.common.entity.CompanyDO;
import com.cykj.common.entity.OrderDO;
import com.cykj.common.entity.VipDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @BelongsProject: smart_recruit_backend
 * @BelongsPackage: com.cykj.enterprise.mapper
 * @Author: 蔡张君逸
 * @CreateTime: 2025-08-30 00:03
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface PayMapper {

    CompanyDO getVipInfo(@Param("hrId") String hrId);

    List<VipDO> getVipGoods(@Param("role")int i);

    int addOrder(OrderDO orderDO);

    int updateVipTime(@Param("companyId")Integer companyId,@Param("localDateTime") LocalDateTime localDateTime);
}